/**
 * 
 */
package org.going.web.handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author ferendo.huang@gmail.com
 * 
 */
public interface JSHandler
{
	/**
	 * @param js
	 * @param request
	 * @param response
	 */
	public void evalJS(String js, HttpServletRequest request, HttpServletResponse response);

	/**
	 * @param id
	 * @param val
	 * @param request
	 * @param response
	 */
	public void setValById(String id, Object val, HttpServletRequest request, HttpServletResponse response);
}
